﻿using Newtonsoft.Json;
/*
==================================================================
    注意：此文件为Auto代码，不可手动修改【库存信息】
==================================================================
*/

namespace Models
{
    /// <summary>
    /// 库存信息  FilterModel
    /// </summary>
    public partial class StockFilterModel
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int? _StockID { get; set; }
        public List<int> _StockIDs { get; set; }
        public List<int> _NotStockIDs { get; set; }

        /// <summary>
        /// 集团
        /// </summary>
        public int? _GroupInfoID { get; set; }
        public List<int> _GroupInfoIDs { get; set; }
        public List<int> _NotGroupInfoIDs { get; set; }

        /// <summary>
        /// 单据
        /// </summary>
        public int? _BillID { get; set; }
        public List<int> _BillIDs { get; set; }
        public List<int> _NotBillIDs { get; set; }

        /// <summary>
        /// 单据详细
        /// </summary>
        public int? _BillDetailID { get; set; }
        public List<int> _BillDetailIDs { get; set; }
        public List<int> _NotBillDetailIDs { get; set; }

        /// <summary>
        /// 仓库
        /// </summary>
        public int? _WarehouseID { get; set; }
        public List<int> _WarehouseIDs { get; set; }
        public List<int> _NotWarehouseIDs { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string _WarehouseName { get; set; }
        public string _WarehouseNameEqual { get; set; }

        /// <summary>
        /// 仓库库位
        /// </summary>
        public int? _WarehousePositionID { get; set; }
        public List<int> _WarehousePositionIDs { get; set; }
        public List<int> _NotWarehousePositionIDs { get; set; }

        /// <summary>
        /// 仓库库位名称
        /// </summary>
        public string _WarehousePositionName { get; set; }
        public string _WarehousePositionNameEqual { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        public string _Code { get; set; }
        public string _CodeEqual { get; set; }

        /// <summary>
        /// 钢丝绳名称
        /// </summary>
        public string _Name { get; set; }
        public string _NameEqual { get; set; }

        /// <summary>
        /// 抗拉强度
        /// </summary>
        public int? _MpaID { get; set; }
        public List<int> _MpaIDs { get; set; }
        public List<int> _NotMpaIDs { get; set; }

        /// <summary>
        /// 抗拉强度名称
        /// </summary>
        public string _MpaName { get; set; }
        public string _MpaNameEqual { get; set; }

        /// <summary>
        /// 表面状态
        /// </summary>
        public int? _SurfaceStatusID { get; set; }
        public List<int> _SurfaceStatusIDs { get; set; }
        public List<int> _NotSurfaceStatusIDs { get; set; }

        /// <summary>
        /// 表面状态名称
        /// </summary>
        public string _SurfaceStatusName { get; set; }
        public string _SurfaceStatusNameEqual { get; set; }

        /// <summary>
        /// 捻制类型
        /// </summary>
        public int? _TwistingTypeID { get; set; }
        public List<int> _TwistingTypeIDs { get; set; }
        public List<int> _NotTwistingTypeIDs { get; set; }

        /// <summary>
        /// 捻制类型名称
        /// </summary>
        public string _TwistingTypeName { get; set; }
        public string _TwistingTypeNameEqual { get; set; }

        /// <summary>
        /// 供应商
        /// </summary>
        public int? _SupplierID { get; set; }
        public List<int> _SupplierIDs { get; set; }
        public List<int> _NotSupplierIDs { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string _SupplierName { get; set; }
        public string _SupplierNameEqual { get; set; }

        /// <summary>
        /// 制造商
        /// </summary>
        public int? _ProducerID { get; set; }
        public List<int> _ProducerIDs { get; set; }
        public List<int> _NotProducerIDs { get; set; }

        /// <summary>
        /// 制造商名称
        /// </summary>
        public string _ProducerName { get; set; }
        public string _ProducerNameEqual { get; set; }

        /// <summary>
        /// 矿山
        /// </summary>
        public int? _DepartmentID { get; set; }
        public List<int> _DepartmentIDs { get; set; }
        public List<int> _NotDepartmentIDs { get; set; }

        /// <summary>
        /// 提升机类型
        /// </summary>
        public int? _HoisterID { get; set; }
        public List<int> _HoisterIDs { get; set; }
        public List<int> _NotHoisterIDs { get; set; }

        /// <summary>
        /// 提升机类型名称
        /// </summary>
        public string _HoisterName { get; set; }
        public string _HoisterNameEqual { get; set; }

        /// <summary>
        /// 提升机用途
        /// </summary>
        public int? _HoisterUsageID { get; set; }
        public List<int> _HoisterUsageIDs { get; set; }
        public List<int> _NotHoisterUsageIDs { get; set; }

        /// <summary>
        /// 提升机用途名称
        /// </summary>
        public string _HoisterUsageName { get; set; }
        public string _HoisterUsageNameEqual { get; set; }

        /// <summary>
        /// 钢丝绳类型
        /// </summary>
        public int? _WireropeTypeID { get; set; }
        public List<int> _WireropeTypeIDs { get; set; }
        public List<int> _NotWireropeTypeIDs { get; set; }

        /// <summary>
        /// 钢丝绳类型名称
        /// </summary>
        public string _WireropeTypeName { get; set; }
        public string _WireropeTypeNameEqual { get; set; }

        /// <summary>
        /// 是否出库
        /// </summary>
        public bool? _IsOut { get; set; }
        public List<bool> _IsOuts { get; set; }

        /// <summary>
        /// 下次维保日期
        /// </summary>
        public DateTime? _NextKeepDate { get; set; }
        public DateTime? _NextKeepDate_Begin { get; set; }
        public DateTime? _NextKeepDate_End { get; set; }

    }





    /// <summary>
    /// 库存信息  Model
    /// </summary>
    public partial class StockModel
    {
        /// <summary>
        /// 只读属性，统一主键名称
        /// </summary>
        public int AutoID
        {
            get
            {
                return StockID;
            }
        }

        /// <summary>
        /// 编号
        /// </summary>
        public int StockID { get; set; }

        /// <summary>
        /// 集团
        /// </summary>
        public int GroupInfoID { get; set; }

        /// <summary>
        /// 单据
        /// </summary>
        public int BillID { get; set; }

        /// <summary>
        /// 单据详细
        /// </summary>
        public int BillDetailID { get; set; }

        /// <summary>
        /// 仓库
        /// </summary>
        public int WarehouseID { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }

        /// <summary>
        /// 仓库库位
        /// </summary>
        public int WarehousePositionID { get; set; }

        /// <summary>
        /// 仓库库位名称
        /// </summary>
        public string WarehousePositionName { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string GuiGe { get; set; }

        /// <summary>
        /// 直径
        /// </summary>
        public decimal Diameter { get; set; }

        /// <summary>
        /// 绳子条数
        /// </summary>
        public int Cnt { get; set; }

        /// <summary>
        /// 钢丝绳名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 公称捻距
        /// </summary>
        public decimal? NianJu { get; set; }

        /// <summary>
        /// 抗拉强度
        /// </summary>
        public int? MpaID { get; set; }

        /// <summary>
        /// 抗拉强度名称
        /// </summary>
        public string MpaName { get; set; }

        /// <summary>
        /// 表面状态
        /// </summary>
        public int? SurfaceStatusID { get; set; }

        /// <summary>
        /// 表面状态名称
        /// </summary>
        public string SurfaceStatusName { get; set; }

        /// <summary>
        /// 捻制类型
        /// </summary>
        public int? TwistingTypeID { get; set; }

        /// <summary>
        /// 捻制类型名称
        /// </summary>
        public string TwistingTypeName { get; set; }

        /// <summary>
        /// 长度
        /// </summary>
        public decimal LengthNum { get; set; }

        /// <summary>
        /// 备绳维保周期
        /// </summary>
        public int? KeepDay { get; set; }

        /// <summary>
        /// 供应商
        /// </summary>
        public int? SupplierID { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SupplierName { get; set; }

        /// <summary>
        /// 制造商
        /// </summary>
        public int? ProducerID { get; set; }

        /// <summary>
        /// 制造商名称
        /// </summary>
        public string ProducerName { get; set; }

        /// <summary>
        /// 出厂报告
        /// </summary>
        [JsonIgnore]
        public string ChuChang_Files { get; set; }

        /// <summary>
        /// 出厂报告合集
        /// </summary>
        public IEnumerable<FileModel> ChuChang_FilesList { get; set; }

        /// <summary>
        /// 验收报告
        /// </summary>
        [JsonIgnore]
        public string YanShou_Files { get; set; }

        /// <summary>
        /// 验收报告合集
        /// </summary>
        public IEnumerable<FileModel> YanShou_FilesList { get; set; }

        /// <summary>
        /// 倒卷检测报告
        /// </summary>
        [JsonIgnore]
        public string JianCe_Files { get; set; }

        /// <summary>
        /// 倒卷检测报告合集
        /// </summary>
        public IEnumerable<FileModel> JianCe_FilesList { get; set; }

        /// <summary>
        /// 附件
        /// </summary>
        [JsonIgnore]
        public string Attr_Files { get; set; }

        /// <summary>
        /// 附件合集
        /// </summary>
        public IEnumerable<FileModel> Attr_FilesList { get; set; }

        /// <summary>
        /// 矿山
        /// </summary>
        public int? DepartmentID { get; set; }

        /// <summary>
        /// 提升机类型
        /// </summary>
        public int? HoisterID { get; set; }

        /// <summary>
        /// 提升机类型名称
        /// </summary>
        public string HoisterName { get; set; }

        /// <summary>
        /// 提升机用途
        /// </summary>
        public int? HoisterUsageID { get; set; }

        /// <summary>
        /// 提升机用途名称
        /// </summary>
        public string HoisterUsageName { get; set; }

        /// <summary>
        /// 钢丝绳类型
        /// </summary>
        public int? WireropeTypeID { get; set; }

        /// <summary>
        /// 钢丝绳类型名称
        /// </summary>
        public string WireropeTypeName { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 是否出库
        /// </summary>
        public bool IsOut { get; set; }

        /// <summary>
        /// 下次维保日期
        /// </summary>
        public DateTime? NextKeepDate { get; set; }

    }
}
